﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="GettingStarted_VB._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <h2>Welcome to the getting started with ADO.NET Entity Framework.</h2>
    <p>The text below is the first blog entry we can find. The buttons will allow you to take the text and create a new comment with the first person we can find in the database. Take a look at the code behind each of the buttons.</p>
    <div>
    
        <asp:TextBox ID="textBlogEntry" runat="server" Height="323px" Width="395px" 
            TextMode="MultiLine"></asp:TextBox>
    
    </div>
    <br />
    Enter a comment about this blog.<br />
    <asp:Button ID="buttonCreate" runat="server" Text="Create" 
        onclick="buttonCreate_Click" />
    <asp:TextBox ID="textComment" runat="server" Height="44px" Width="333px"></asp:TextBox>
    <br />
    <br />
    Update all the comments with a * at the end of the comments.<br />
    <asp:Button ID="buttonUpdate" runat="server" Text="Update" 
        onclick="buttonUpdate_Click" />
    <br />
    <br />
    Delete the first comment.<br />
    <asp:Button ID="buttonDelete" runat="server" Text="Delete" 
        onclick="buttonDelete_Click" />
    <br />
    <br />
    The comments are the result of an projected LINQ query.<asp:GridView ID="gridViewComment" runat="server">
    </asp:GridView>
    </form>
</body>
</html>
